package com.sixth.dao;

import com.sixth.entity.Course;
import com.sixth.entity.EduCourse;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface EduCourseDao {
    int deleteByPrimaryKey(String id);

    int insert(EduCourse record);

    int insertSelective(EduCourse record);

    EduCourse selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(EduCourse record);

    int updateByPrimaryKey(EduCourse record);
    List<EduCourse> queryAllCourseRanking(@Param("startTime") String startTime, @Param("stopTime") String stopTime);

}